#!/bin/bash

buildone() {
  cd $1
  autoreconf -fvi
  ./configure $2 --enable-debug
  make
  make install
  cd ..
}

buildone libestr
buildone libee
buildone libfastjson
buildone liblogging
buildone librelp --prefix=/usr
buildone rsyslog --enable-relp 
